package com.extendsDemo;

/**
 * @author edy
 */
public class MathTeach extends Teach{

    @Override
    public void teach() {
        System.out.println(getName() + "教书");
    }
}
